package com.xgk.boot.module.core.controller.admin.truck.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xgk.boot.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.Instant;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 订单列表 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class TruckOrderServiceFeeReqVO extends PageParam {

//    @Schema(description = "客户编码", example = "1024")
//    private String customerCode;

    /** 订单编号（唯一键）用户id+日期时间+几位编码 */
    @Schema(description = "订单编码", example = "1024")
    private String orderCode;


    @Schema(description = "创建订单的起始时间",example = "2025-08-14T00:00:00.000Z")
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    private Instant beginCreateTime;

    @Schema(description = "创建订单结束时间", example = "2025-08-23T23:59:59.999Z")
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    private Instant endCreateTime;

}
